package report.data;

import java.util.Calendar;

public class YearDate {
	private String year;
	
	public YearDate(String year) {
		this.year = year;
	}
	
	public YearDate(java.util.Date date) {
		this.year = String.valueOf((Calendar.getInstance().get(Calendar.YEAR) + 1900));
	}
	
	public YearDate(java.sql.Date date) {
		this.year = String.valueOf((Calendar.getInstance().get(Calendar.YEAR) + 1900));
	}
	
	public String toString() {
		return this.year;
	}
}
